
/*******************************************************
split string
********************************************************/

import java.util.Arrays;

public class Main { 
    public static void main(String[] args) { 
	String arr1= "my,org.work.gget.ddd.com";

	String[] sp=arr1.split(",");

	System.out.println(arr1);

	for(int i=0;i<sp.length;i++){
		System.out.println(sp[i]);
	}		
    } 
} 
